Linear vs Non-Linear Data Structures
Linear: Array, Linked List, Stack, Queue — single-level, sequential traversal
Non-Linear: Tree, Graph, Heap, Trie — multi-level, hierarchical/networked traversal
Memory utilization in linear structures is often simpler; non-linear structures can represent more complex relationships
Traversal complexity differs: linear structures are typically O(n) single-pass; non-linear structures use BFS/DFS or tree-traversal algorithms